package org.example.book.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.example.book.entity.User;

import java.io.Serial;

public interface UserMapper {
    @Select("select * from t_user where username = #{username}")
    public User getUserByUsername(@Param("username") String username);
}
